package com.zuoyy.modules.system.service;

import com.zuoyy.common.enums.StatusEnum;
import com.zuoyy.modules.common.BaseService;
import com.zuoyy.modules.system.domain.Dept;
import com.zuoyy.modules.system.domain.Menu;
import com.zuoyy.modules.system.query.DeptQuery;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Sort;

import java.util.List;

/**
 * @author 
 */
public interface DeptService extends BaseService<Dept> {

    Page<Dept> getPageList(DeptQuery query);
    List<Dept> findByQuery(DeptQuery query);
    List<Dept> findByQuery(DeptQuery query, Sort sort);

    Boolean updateStatus(StatusEnum statusEnum, List<String> idList);

    List<Dept> getListByPid(String pid, String notId);

}